//******************************************************************************
//  _____                  _    _             __
// |  _  |                | |  | |           / _|
// | | | |_ __   ___ _ __ | |  | | __ _ _ __| |_ __ _ _ __ ___
// | | | | '_ \ / _ \ '_ \| |/\| |/ _` | '__|  _/ _` | '__/ _ \
// \ \_/ / |_) |  __/ | | \  /\  / (_| | |  | || (_| | | |  __/
//  \___/| .__/ \___|_| |_|\/  \/ \__,_|_|  |_| \__,_|_|  \___|
//       | |               We don't make the game you play.
//       |_|                 We make the game you play BETTER.
//
//            Website: http://openwarfaremod.com/
//******************************************************************************
// OTHER OPTIONS
// ALL VARIABLES WORK IN RANKED AND UNRANKED MODES
//******************************************************************************
// PLEASE REMEMBER TO UNCOMMENT THE LINES BY REMOVING THE DOUBLE SLASHES (//)
// WHEN CHANGING A VALUE. PLEASE DO NOT UNCOMMENT LINES SET TO DEFAULT VALUES.
//******************************************************************************

#include openwarfare\_utils;

init() {
printDebugLine( "configs\gameplay\weapons::init()" );
//******************************************************************************
// RUN AND GUN OPTIONS
//******************************************************************************
// Enable R&G. If enabled then players will be penalized with a damage reduction 
// if the they don't use the weapon sights. The damage reduction will be based on
// the distance from the attacker to the victim. 
// 0 = Disabled (default), 1 = Enabled, 2 = Enabled (except for shotguns)
setModDVar("scr_rng_enabled", "1");

// Distance in inches from the attacker to the victim to calculate damage
// 0-10000 = Distance in inches (1 unit = 2.54cm) (default is 200)
// setModDVar("scr_rng_distance", "200");

// Percentage of damage when distance is lower than scr_rng_distance
// Allowed values: 0-100 (default is 50)
// setModDVar("scr_rng_damage_closer", "0");

// Percentage of damage when distance is higher than scr_rng_distance
// Allowed values: 0-100 (default is 5)
// setModDVar("scr_rng_damage_longer", "0");

// Show Hip Shooting Message to the attacker
// 0 = Disabled(default), 1 = Enabled (Message Only), 2 = Enabled (Message and shock), 3 = Enabled (Message, disable weapon and shock)
// setModDVar("scr_rng_show_message", "1");

// Time to shock attacker if Hip Shooting
// 0 - 15 seconds (2 = default)
// setModDVar("scr_rng_shock_time", "5");

// Hip Shooting Message
// Default message "Hip Shooting NOT ALLOWED on this server!"
// setModDVar("scr_rng_message", "^1HIP SHOOT ^7in Close Quarters Only!");

//*****************************************************************************
// Range Finder for Sniper Rifles including all Attachments
//*****************************************************************************
// Controls whether a range should be shown when aiming down the sights with a sniper rifle
// 0 = Disabled (default), 1 = Enabled (yards), 2 = Enabled (meters)
setModDVar("scr_rangefinder_enable", "2");



}